package com.xiaoxin.yixinai.activity.wxuser;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.xiaoxin.yixinai._frame.base.BaseRepository;

@Repository
public interface WxUserRepository  extends BaseRepository<WxUser> {
	
	/**
	 * 查询活动微信推广人员
	 */
	List<WxUser> findByActivityId(Integer activityId);

	WxUser findByActivityIdAndOpenid(Integer activityId, String openid);

}
